System and method for composite distance metric leveraging multiple expert judgments

ABSTRACT

A system and method for a composite distance metric leveraging multiple expert judgments includes inputting a data distribution of multiple expert judgments stored on a computer readable storage medium. Base distance metrics are converted into neighborhoods for comparison, wherein each base distance metric represents an expert. The neighborhoods are combined to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.

RELATED APPLICATION INFORMATION

This application claims priority to provisional application Ser. No. 61/391,321 filed on Oct. 8, 2010, which is incorporated by reference herein in its entirety.

This application is a Continuation application of allowed co-pending U.S. patent application Ser. No. 13/070,084 filed on Mar. 23, 2011, incorporated herein by reference in its entirety.

BACKGROUND

1. Technical Field

The present invention relates to processing data, and more particularly to systems and methods for determining a composite distance metric between data from different sources.

2. Description of the Related Art

Distance metric learning is one of the most fundamental problems in data mining. Existing techniques aim at constructing a single distance metric directly from the data. However, in real applications, multiple base distance metrics may already exist. For example, in healthcare applications, different physicians may have different patient distance metrics in mind.

Distance Metric Learning (DML) is applicable in data mining and machine learning fields. Most DML algorithms are learned directly from the data. Depending on the availability of supervision information in the training data set (e.g., labels or constraints), a DML algorithm can be classified as unsupervised, or semi-supervised and supervised. In particular, supervised DML (SDML) constructs a proper distance metric that leads data from the same class closer to each other, while data from different classes are moved further apart from each other. In fact, SDML can be categorized as including global and local methods. A global SDML method attempts to learn a distance metric that keeps all data points within the same class close, while separating all data points from different classes far apart. Typical approaches in this category include Linear Discriminant Analysis (LDA) and its variants.

Although global SDML approaches achieve empirical success in many applications, it is difficult for a global SDML to separate data from different classes since the data distribution is usually very complicated (e.g., the data from different classes are entangled with each other). Local SDML methods, on the other hand, first construct local regions (e.g., neighborhoods around each data point) and, in each local region, attempts to pull data within the same class closer while pushing data in different classes further apart. Some representative algorithms include Large Margin Nearest Neighbor (LMNN) classifiers, Neighborhood Component Analysis (NCA) and Locality Sensitive Discriminant Analysis (LSDA). It is observed that these local methods can generally perform much better than global methods.

A related topic includes multiple kernel learning, which has been studied extensively in the machine learning and vision community. The goal in multiple kernel learning is to learn a strong kernel by integrating multiple weak kernels. In healthcare applications, multiple patient-patient kernel matrices are combined into a strong kernel to assess patient similarity. However, the practical difficulty of multiple kernel learning includes the following: 1) multiple kernel learning is not easy to generalize to new data points. For example, the existing similarity kernel will not be able to handle new patient arrivals until the kernel is recomputed to capture the new patient. 2) The computation complexity for multiple kernel learning is prohibitively expensive, often requiring a computational complexity of O(N³), where N is the number of data points. These challenges significantly limit the practical value of multiple kernel learning.

SUMMARY

In accordance with the present principles, a method for processing data includes inputting a data distribution of multiple expert judgments stored on a computer readable storage medium. Base distance metrics are converted from a plurality of sources into neighborhoods for comparison. Each base distance metric represents an expert. The neighborhoods are combined to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.

In accordance with the present principles, a system for processing data includes inputting a data distribution of multiple expert judgments stored on a computer readable storage medium into a neighborhood formulation module. The neighborhood formulation module is configured to convert base distance metrics from a plurality of sources into neighborhoods for comparison. Each base distance metric represents an expert. A neighborhood combination module is configured to combine the neighborhoods to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.

These and other features and advantages will become apparent from the following detailed description of illustrative embodiments thereof, which is to be read in connection with the accompanying drawings.

BRIEF DESCRIPTION OF DRAWINGS

The disclosure will provide details in the following description of preferred embodiments with reference to the following figures wherein:

FIG. 1 is a graphical illustration of a Composite Distance Metric applied to the healthcare field in accordance with one embodiment;

FIG. 2 is a block/flow diagram of a Composite Distance Metric method in accordance with one embodiment;

FIG. 3 is a block/flow diagram for converting multiple base distance metrics into neighborhoods in a Composite Distance Metric method in accordance with one embodiment;

FIG. 4 is a block/flow diagram for combining neighborhoods by applying iterative methods in a Composite Distance Metric method in accordance with one embodiment; and

FIG. 5 is a block/flow diagram of a Composite Distance Metric system in accordance with one embodiment.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

The present principles provide a new notion of learning a composite distance metric from multiple expert inputs. For most existing approaches in distance metric learning, only one expert input is involved. However, in real world applications, different experts typically have different inputs. For example, different doctors may have different opinions as to the similarities between different patients. The present principles provide a system and method to incorporate multiple expert judgments to learn a proper distance metric.

Neighborhoods are created around each expert and a distance function is learned for each expert input providing the distances among data points in relation to the expert opinion by solving an optimization problem. For multiple expert inputs, a linear combination is constructed of all the objectives to be optimized on each input, which are then optimized together with the combination coefficients simultaneously. The present methods are (1) scalable to large scale data sets; (2) easily generalized to process different types of data (nonlinear, multilinear); and (3) able to incorporate new expert input and new data.

In one embodiment in accordance with the present principles, multiple kernel learning integrates distance metrics. In particular, given a set of data points, multiple Base Distance Metrics (BDM) with the same set of features are assumed (e.g., Lp distance with different p values, cosine similarity). For each BDM, a local nearest neighborhood is identified around each data point. Then, the Composite Distance Metric (CDM) learns a composite distance (e.g., a Mahalanobis distance) by combining the discriminative information of the different neighborhoods as a quadratic optimization problem. The optimization problem is solved using iterative methods to output a global similarity measure. In another embodiment, the CDM may be modified to handle nonlinear data distributions in a kernelized CDM. Similarly, in another embodiment, the CDM may also be modified to handle multilinear data distributions in a tensorized CDM.

As will be appreciated by one skilled in the art, aspects of the present invention may be embodied as a system, method or computer program product. Accordingly, aspects of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, micro-code, etc.) or an embodiment combining software and hardware aspects that may all generally be referred to herein as a “circuit,” “module” or “system.” Furthermore, aspects of the present invention may take the form of a computer program product embodied in one or more computer readable medium(s) having computer readable program code embodied thereon.

Any combination of one or more computer readable medium(s) may be utilized. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.

A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.

Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like and conventional procedural programming languages, such as the “C” programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet Service Provider).

Aspects of the present invention are described below with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

These computer program instructions may also be stored in a computer readable medium that can direct a computer, other programmable data processing apparatus, or other devices to function in a particular manner, such that the instructions stored in the computer readable medium produce an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.

The computer program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide processes for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks.

The flowchart and block diagrams in the Figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.

Referring now to the drawings in which like numerals represent the same or similar elements and initially to FIG. 1, a block/flow diagram illustratively depicts one embodiment of a CDM applied in the healthcare field 100 in accordance with the present principles. An important problem in healthcare is how to find similar patients from a patient database from one query patient. Physicians often have their own perception of similarity based on their own patients and beliefs. A use case in the healthcare application includes a medical group with multiple physicians collectively serving a particular patient cohort.

In block 110, a patient cohort of the medical group is shown. The patient cohort is divided into subsets and assigned to a physician in blocks 120. In blocks 130, the CDM constructs a patient neighborhood around each physician, with the neighborhood representing the physician's judgments for each of the patients. Based on this neighborhood, an individual similarity measure for each physician is determined in blocks 140. The CDM will aggregate the individual similarity measures for all physicians to determine a global similarity measure in block 150. The global similarity measure 150 is provided back to each physician in feedback 160 so that each physician will be able to compare their individual similarity measure with the global similarity measure of the medical group. In another application, the CDM may be used to compare patient similarity by determining a distance between two patients.

It will be appreciated by one of ordinary skill in the art that the present principles are not restricted to the healthcare field. For example, in a computer repair business, a group of computer technicians may work together to serve a particular client base. The CDM can construct neighborhoods around each computer technician to create an individual similarity measure. The individual similarity measures can then be combined to determine a global similarity measure.

Referring now to FIG. 2, a block/flow diagram illustratively depicts one embodiment of a Composite Distance Metric (CDM) method 200 in accordance with the present principles. In block 210, a data distribution is inputted into the CDM. In a preferred embodiment, the data distribution is the constructed local compactness and scatterness matrices for each expert. It should be recognized that the dashed lines represent alternate embodiments in accordance with the present principles. In one embodiment, the inputted data distribution is nonlinear. In block 250, the nonlinear data distribution is transformed from the original data space to the linearity of the feature space. In another embodiment, the inputted data distribution is multilinear. In block 260, the multilinear data distribution is transformed from the original data space to the linearity of the feature space.

In block 220, neighborhoods are constructed around each expert from the data distribution. Block 220 is explained in further detail with respect to FIG. 3. In the healthcare application example, each physician represents a BDM and a neighborhood of patients is constructed around each physician. Each neighborhood represents the individual similarity measure of the physician. In block 230, the neighborhoods are combined by applying iterative methods. Block 230 is explained in further detail with respect to FIG. 4. In block 240, a composite distance metric is outputted. In the healthcare application example, the composite distance metric represents the global similarity measure of the medical group.

The CDM method will be explained in more detail below, however, in doing so, the framework of a Distance Metric Learning (DML) with local discrimination will be followed. Therefore, the DML with local discrimination will first be explained and then applied to the CDM. In presenting the DML with local discrimination, let X=[x₁, . . . , x_(n)] ∈ R^(d×n) be the matrix containing n data points, where each column x_(i) ∈ R^(d) represents the i-th data point. Let y=[y₁, . . . , y_(n)]^(T) ∈ R^(n) be the data label vector with y_(i) ∈ {1,2, . . . , C} denoting the label x_(i) and C denoting the number of classes. The goal is to find a Mahalanobis distance as follows: d _(Σ)(x _(i) ,x _(j))=√{square root over ((x _(i) −x _(j))^(T)Σ(x _(i) −x _(j)))}{square root over ((x _(i) −x _(j))^(T)Σ(x _(i) −x _(j)))} where Σ ∈ R^(d×d) is a Symmetric Positive Semi-Definite (SPSD) matrix.

A neighborhood is identified around each data point and classified as either homogeneous or heterogeneous to provide for enhanced local discriminability. The homogeneous neighborhood of x_(i), denoted as

_(i) ^(o), is the |

_(i) ^(o)|-nearest data points of x_(i) with the same label, where |

_(i) ^(o)| is the size of

_(i) ^(o). The heterogeneous neighborhood of x_(i), denoted as

_(i) ^(e), is the |

_(i) ^(e)|-nearest data points of x_(i) with different labels, where |

_(i) ^(e)| is the size of

_(i) ^(e). The base distance metric is used to construct the neighborhood

_(i) ^(o) and

_(i) ^(e). Local compactness is applied to the homogeneous neighborhood of point x_(i) as follows: C _(i)=Σ_(j:x) _(j) _(∈)

_(i) _(o) d _(Σ) ²(x _(i) ,x _(j)) and local scatterness is applied to the heterogeneous neighborhood of point x_(i) as follows: S _(i)=Σ_(k:x) _(k) _(∈)

_(i) _(e) d _(Σ) ²(x _(i) ,x _(k)).

The average distance between the heterogeneous neighborhoods and homogeneous neighborhoods are computed using the following trace difference criterion: J=Σ _(i=1) ^(n)(C _(i) −S _(i)). An optimal distance metric is learned by maximizing the difference between the heterogeneous neighborhoods and homogeneous neighborhoods, which is achieved by minimizing the trace difference criterion. Optimizing a trace difference criterion has several advantages over optimizing a trace quotient criterion, as it is easy to manipulate, convex and avoids the singularity problem.

Incomplete Cholesky decomposition can be applied since Σ is SPSD: Σ=WW^(T). Then J can be expanded as J=tr(W ^(T)(Σ_(C)−Σ_(S))W) where tr(•) is the trace of the matrix, and Σ_(C)=Σ_(i) Σ_(j:X) _(j) _(∈)

_(i) _(o) (x _(i) −x _(j))(x _(i) −x _(j))^(T) Σ_(S)=Σ_(i) Σ_(k:X) _(k) _(∈)

_(i) _(e) (x _(i) −x _(k))(x _(i) −x _(k))^(T) are the local compactness and scatterness matrices, respectively. Thus, a base distance metric can be converted into a local neighborhood and formulated as follows: min_(W:W) _(T) _(W=I)tr(W ^(T)(Σ_(C)−Σ_(S))W)   (1).

The orthogonality constraint W^(T)W=I is imposed to reduce the information redundancy among different dimensions of W. Under the Ky Fan Theorem, let H ∈ R^(d×d) be a symmetric matrix with eigenvalues λ₁≦λ₂≦ . . . λ_(d) and corresponding eigenvectors U=[u₁, u₂, . . . , u_(d)]. Then

${\lambda_{1} + \lambda_{2} + \ldots + \lambda_{k}} = {\min\limits_{{P^{T}P} = I_{k}}{{tr}\left( {P^{T}{HP}} \right)}}$ and the optimal P*=[u₁, u₂, . . . , u_(k)] subject to orthonormal transformation. Applying the Ky Fan Theorem to equation (1), the optimal W is obtained by W*=[w₁, w₂, . . . , w_(k)] with w_(i) ∈ R^(d) being the eigenvector of Σ_(C)−Σ_(S), whose corresponding eigenvalue is the i-th smallest. The local neighborhood, formulated by equation (1), is parameterized by the projection matrix W.

Referring back to the CDM method, the framework of the DML with local discrimination will be followed as it applies to the CDM. Once the data distribution is inputted into the CDM, neighborhoods are constructed.

Referring to FIG. 3, a block/flow diagram is depicted illustrating the construction of neighborhoods around each expert 300 in accordance with the present principles. In the healthcare application example, neighborhoods are constructed around each physician, where each physician is represented by a BDM and each neighborhood represents that physician's judgments with respect to their patient subset.

In block 310, neighborhoods are identified as either heterogeneous or homogeneous. In constructing the neighborhoods, the goal is still to learn a Mahalanobis distance as learned above. For the q-th BDM, a homogeneous neighborhood

_(i) ^(o)(q) and a heterogeneous neighborhood

_(i) ^(e)(q) are constructed for x_(i). Correspondingly, a compactness matrix Σ_(C) ^(q) and scatterness matrix Σ_(S) ^(q) are constructed for the q-th BDM as follows: Σ_(C) ^(q)=Σ_(i) Σ_(j:X) _(j) _(∈)

_(i) _(o) _((q))(x _(i) −x _(j))(x _(i) −x _(j))^(T) Σ_(S) ^(q)=Σ_(i) Σ_(k:X) _(k) _(∈)

_(i) _(e) _((q))(x _(i) −x _(k))(x _(i) −x _(k))^(T).

In block 320, the average distance between the heterogeneous neighborhoods and homogeneous neighborhoods is computed using the trace difference criterion, as performed above. In block 330, the average distance between the heterogeneous neighborhoods and homogeneous neighborhoods is maximized by minimizing the trace difference criterion. Each neighborhood can then be expressed as follows: min_(W:W) _(T) _(W=I)tr(W ^(T)(Σ_(C) ^(m)−Σ_(S) ^(m))W). In the healthcare application example, the above equation represents the individual similarity measure for each physician.

Minimizing the trace difference criterion over all BDMs results in the following: J=Σ _(q=1) ^(m)α_(q) J ^(q)=Σ_(q=1) ^(m)α_(q)tr(W ^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W) where α_(q) is the combination coefficient for the q-th BDM, α is constrained to be in a simplex as α_(q)≧0, Σ_(q)α_(q)=1, and m is the number of BDMs. By minimizing the trace difference criterion over all BDMs, the local discriminalities of all BDMs are leveraged to create a more powerful discriminative metric. The CDM is then formulated as the following optimization problem: min_(α,W) Σ_(q=1) ^(m)α_(q)tr(W ^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W)+λΩ(α) s.t. α≧0,α^(T)e=1   (2) W^(T)W=I where α=(α₁, α₂, . . . , α_(m))^(T), Ω(α) is some regularization term used to avoid trivial solutions, and λ≧0 is the tradeoff parameter. In particular, when λ=inf, then

α_(q) = 1/m for all q and when λ=0, then α_(q)=1 for only the best BDM while all others have zero weight.

Referring again to FIG. 2, in block 230, the neighborhoods are combined and a CDM is solved for using iterative methods. In one embodiment, the combined neighborhoods are represented by the optimization problem of equation (2). As can be observed, the optimization problem of equation (2) includes two unknown variables, α and W. Although the optimization problem is not jointly convex with respect to both variables, it is convex with respect to one variable with the other fixed. Therefore, the optimization problem can be solved using iterative methods. In a preferred embodiment, the optimization problem is solved using alternating optimization by applying block coordinate descent.

In FIG. 4, the alternating optimization method 400 is illustratively depicted in accordance with one embodiment of the present principles. Equation (2) is solved by first solving for W with α fixed and then solving for α with W fixed. Alternating optimization is performed until a stopping criterion is reached. In a preferred embodiment, the stopping criterion includes either a maximum number of iterations or convergence. The maximum number of iterations is configured for T iterations, where T is a variable from 1 to t, a user defined input parameter. Convergence is established where the absolute value of the difference between the objective function loss in two consecutive steps is smaller than a threshold set by the user.

In block 410, an optimization problem is inputted into the alternating optimization method. If Ω(α) is a convex regularizer with respect to α, then the objective is convex with respect to α with W fixed and to W with α fixed. In block 420, α is fixed to solve for W. Starting at α=α⁰, at step t, the optimization problem is solved for W^((t)) with α fixed at α=α^((t−1)) using eigenvalue decomposition as follows: min_(W) Σ_(q=1) ^(m)α_(q) ^((t−1))tr(W ^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W)+λΩ(α) s.t. W^(T)W=I   (3). Since the second term of the objective is irrelevant with respect to W, it can be discarded. The first term of the objective can then be rewritten as follows: Σ_(q=1) ^(m)α_(q) ^((t−1))tr(W ^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W)=tr(W ^(T)└Σ_(q) ^(m)α_(q) ^((t−1))(Σ_(C) ^(q)−Σ_(S) ^(q))┘W).

Considering the orthogonality constraint W^(T)W=I, the Ky Fan Theorem can be applied to solve equation (3) for W(t)=[w₁ ^((t)), w₂ ^((t)), . . . , w_(k) ^((t))], with w_(i) ^((t)) being the eigenvector of E^((t−1))=Σ_(q) ^(m)α_(q) ^((t−1))(Σ_(C) ^(q)−Σ_(S) ^(q)) whose eigenvalue is the i-th smallest. The computational complexity is O(d³), which is dominated by the eigenvalue decomposition.

In block 430, once W^((t)) is determined at step t, α is then solved for with W fixed. In one embodiment, α^((t)) is determined by solving the following optimization problem: min_(α) Σ_(q=1) ^(m)α_(q)tr((W ^((t)))^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W ^((t)))+λΩ(α) s.t. α≧0,α^(T)e=1   (4) where e is all one vector. To solve the optimization problem of equation (4), different choices of Ω(α) are evaluated. For notational convenience, let w^((t))=(w₁ ^((t)), w₂ ^((t)), . . . , w_(m) ^((t)))^(T) with w_(i) ^((t))=tr((W^((t)))^(T)(Σ_(C) ^(q)−Σ_(S) ^(q))W^((t))).

The optimization problem of equation (4) is first evaluated using L2 norm regularization, where Ω(α)=∥α∥₂ ². Here, ∥α∥₂ ²=α^(T)α is applied, which is a common regularizer, so that the optimization problem of equation (4) can be rewritten as follows: min_(α) α^(T)w^((t))+λ∥α∥₂ ² s.t. α≧0,α^(T)e=1. The above result is a standard Quadratic Programming problem and can be solved by numerous mature software programs. However, since solving a Quadratic Programming problem can be time consuming, the problem is reformulated, for efficiency, to the following:

${{\alpha^{T}w^{(t)}} + {\lambda{\alpha }_{2}^{2}}} = {{{{\sqrt{\lambda}\alpha} + {\frac{1}{\sqrt{2\lambda}}w^{(t)}}}}_{2}^{2} + {\frac{1}{2\lambda}\left( w^{(t)} \right)^{T}{w^{(t)}.}}}$ Since the second term is irrelevant with respect to α, it can be discarded and the optimization problem rewritten as follows: min_(α)∥α−{tilde over (w)}^((t))∥₂ ² s.t. α≧0,α^(T)e=1 where

${\overset{\sim}{w}}^{(t)} = {\frac{1}{\sqrt{2}\lambda}{w^{(t)}.}}$ Therefore, the optimization problem turns into a Euclidean projection problem under the simplex constraints with L2 norm regularization.

The problem with L2 regularization is that it tends to uniformly select all base distance metrics, which may introduce some redundancies. Therefore, the optimization problem of equation (4) is evaluated using L1 norm regularization, where Ω(α)=∥α∥₁. Here, ∥α∥₁=Σ_(q=1) ^(m)|α_(q)|, which is a common regularizer, is applied to enforce a sparsity penalty on α, such that the smaller ∥α∥₁ is, the sparser α will be. The optimization problem of equation (4) can be rewritten to the following: min_(α) α^(T)w^((t))+λ∥α∥₁ s.t. α≧0,α^(T)e=1.

The optimal solution to α* is expected to have only nonzero entries whose corresponding base distance metrics are highly discriminative. However, with the nonnegativity and sum-to-one constraints, ∥α∥₁ is already restricted to 1, which makes the L1 regularization meaningless in this case. Therefore, either the L1 regularization or the sum-to-one constraint can be dropped. If the sum-to-one constraint is dropped, the optimal solution would be an all-zero vector, which is trivial. If the L1 regularization term is dropped, the optimal solution becomes:

$\alpha_{i}^{*}\left\{ \begin{matrix} {1,} & {w_{i}^{t} = {\min\left( {w_{1}^{(t)},w_{2}^{(t)},\ldots\mspace{14mu},w_{m}^{(t)}} \right)}} \\ {0,} & {otherwise} \end{matrix} \right.$ which only selects the most discriminative base distance metric and is, therefore, overly sparse.

Alternatively, a hybrid approach can be adopted. The optimization problem of equation (4) is evaluated using elastic net regularization, where Ω(α)=λ₁∥α∥₂ ²+λ₂∥α∥₁. Here, λ₁>0 and λ₂>0 are regularization constants. The elastic net regularizer can be viewed as a tradeoff between the nonsparse L2 norm regularization and sparse L1 norm regularization. The optimization problem can be rewritten as:

${{\alpha^{T}w^{(t)}} + {\lambda_{1}{\alpha }_{2}^{2}} + {\lambda_{2}{\alpha }_{1}}} = {{{{\sqrt{\lambda_{1}}\alpha} + {\frac{1}{\sqrt{2\lambda_{1}}}w^{(t)}}}}_{2}^{2} + {\lambda_{2}{\alpha }_{1}} - {\frac{1}{2\lambda_{1}}\left( w^{(t)} \right)^{T}{w^{(t)}.}}}$ Since the third term is irrelevant with respect to α, it can be discarded and the problem simplified to: min_(α)∥α−ŵ^((t))∥₂ ²+λ₂∥α∥₁ where

${\hat{w}}^{(t)} = {\frac{1}{\sqrt{2}\lambda_{1}}{w^{(t)}.}}$

As can be observed, the sum-to-one constraint and L1 norm regularizer are still redundant in this case and, therefore, one can be dropped. If the L1 norm regularizer is dropped, the problem becomes the same as L2 regularization. If the sum-to-one constraint is dropped, the problem becomes a nonnegative least absolute shrinkage and selection operator (LASSO) problem and can be solved by standard methods.

Evaluating the optimization problem of equation (4) for different choices of Ω(α), L2 regularization using Euclidean projection is sufficient with a computational complexity of O(m). Referring again to FIG. 4, in block 440, the optimization problem is repeatedly solved until a stopping criterion is met. The variables W^((t)) and α^((t)) are solved for, with α representing the combination weight and W representing the projection matrix. The composite distance metric is represented by projection matrix W. The combination weight α represents the weight of each BDM. In FIG. 4, block 450 and FIG. 2, block 240, the composite distance metric is outputted.

In the healthcare application example, the output of the CDM is represented by projection matrix W. Patient similarity may be determined for two patients, each represented by a feature vector v₁ and v₂, respectively. A Mahalanobis distance between the two vectors is determined using precision matrix W^(T)W as follows: (v₁−v₂)(v₁−v₂)^(T)WW^(T).

New feature vectors and new base distance metrics may be incorporated to adjust the distance of the CDM. New feature vectors are first absorbed into each base distance metric through a distance updating process, i.e., all base distance metrics are recomputed by adding the new feature. The new neighborhoods will be reconstructed and the composite distance will be relearned afterwards. New base distance metrics are converted into neighborhoods with an initial weight of zero. Alternating optimization will then be performed to further update the weights of all the BDMs.

One potential issue in applying the CDM is that the projected dimensionality k of matrix W needs to be predefined. Because there is no prior knowledge of the data distribution set, the projected dimensionality k is difficult to predefine. However, under the Ky Fan theorem, the optimal objective value of the optimization problem expressed in equation (3) is the sum of the smallest k eigenvalues of E^((t−1)). Therefore, k can be set to the number of negative eigenvalues of E^((t−1)).

As should be appreciated by one of ordinary skill in the art, the above-described CDM is one exemplary embodiment in accordance with the present principles. In other embodiments, the CDM may be modified to make it more effective and efficient for particular applications. In particular, where the data distribution consists of high dimensional data (e.g., text data), the data vectors {x_(i)}_(i=1) ^(n) are typically sparse, which will make the compactness matrix Σ_(C) ^(q) and scatterness matrix Σ_(S) ^(q) sparse, and the resultant matrix E^((t)) may also be sparse. As only the eigenvectors corresponding to the smallest k eigenvalues of E^((t)) need be found, faster iterative methods may be applied, such as the Lanczon algorithm, which would improve computational complexity from O(d³) to O(dk²).

In another embodiment in accordance with the present principles, the CDM may also be modified to handle new information. In dealing with new data from the population x, such as new patient data, it is projected into the feature space as follows: {tilde over (x)}=W^(T)x. In this way, the Mahalanobis distance of x is projected into the feature space as a Euclidean distance d({tilde over (x)},•). The new expert input information is equivalent to adding a new BDM, which will first be transformed into a neighborhood with an initial weight of zero. Next, alternating optimization is applied by solving for α^(new) by fixing W=W^(old) and then solving for W^(new) iteratively. Alternating optimization is performed until a stopping criterion is met. The composite distance metric is then outputted, represented by projection matrix W.

In another embodiment in accordance with the present principles, the CDM method is modified for nonlinear data distributions. A limitation of CDM is that it assumes a linear transform W to map the data points to a feature space so that the Euclidean distance in that feature space is the Mahalanobis distance in the original space. However, since most data distributions are nonlinear in nature, such a linear transform may not be optimal. Therefore, the CDM can be modified to create a kernelized composite distance metric.

The kernelized CDM method is similar to the CDM method outlined in FIG. 2, however, as illustrated in block 250, the data distribution is transformed to the linearity of the feature space. In particular, the data points are mapped from a high (possibly infinite) dimensional feature space via φ:R^(d)→F to transform the nonlinearity in the original data space to the linearity in the feature space. More concretely, let φ(x_(i)) be the image of x_(i) and Φ=[φ(x₁), φ(x₂), . . . , φ(x_(n))] be the image of the original data matrix X. The goal is to learn the following Mahalanobis distance metric: d _(Σ) _(φ) (x _(i) , x _(j))=√{square root over ((φ(x _(i))−φ(x _(j)))^(T)Σ^(φ)(φ(x _(i))−φ(x _(j))))}{square root over ((φ(x _(i))−φ(x _(j)))^(T)Σ^(φ)(φ(x _(i))−φ(x _(j))))}{square root over ((φ(x _(i))−φ(x _(j)))^(T)Σ^(φ)(φ(x _(i))−φ(x _(j))))}{square root over ((φ(x _(i))−φ(x _(j)))^(T)Σ^(φ)(φ(x _(i))−φ(x _(j))))}. Similar to CDM, incomplete Cholesky decomposition can be applied to factorize Σ^(φ) as follows: Σ^(φ)=W^(φ)W^(φ) ^(T) where W^(φ)=[w₁ ^(φ), w₂ ^(φ), . . . , w_(k) ^(φ)] is a low rank matrix, playing a similar role as W plays in CDM. To learn W^(φ) in the feature space F, the following optimization problem is solved: min_(α,W) _(φ) Σ_(q=1) ^(m)α_(q)tr(W ^(φ) ^(T) (Σ_(C) ^(q)−Σ_(S) ^(q))W ^(φ))+λΩ(α) s.t. α≧0,α^(T)e=1   (5) W^(φ) ^(T) W^(φ)=1 where Σ_(C) ^(φ) ^(q) and Σ_(S) ^(φ) ^(q) are the compactness matrix and scatterness matrix in the feature space, as defined as:

$\overset{\phi^{q}}{\sum\limits_{C}}{= {\sum\limits_{i}{\sum\limits_{j:{x_{j} \in {\mathcal{N}_{i}^{0}{(q)}}}}{\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{j} \right)}} \right)\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{j} \right)}} \right)^{T}}}}}$ $\overset{\phi^{q}}{\sum\limits_{S}}{= {\sum\limits_{i}{\sum\limits_{k:{x_{k} \in {\mathcal{N}_{i}^{e}{(q)}}}}{\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{k} \right)}} \right){\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{k} \right)}} \right)^{T}.}}}}}$

Under the Representer Theorem, W^(φ) is extended to the following: W^(φ)=ΦY where Y=[γ₁, γ₂, . . . , γ_(k)] and w_(i) ^(φ)=Φγ_(i). Then:

$\begin{matrix} {{W^{\phi^{T}}{\sum\limits_{C}^{\phi^{q}}W^{\phi}}} = {\gamma^{T}{\Phi^{T}\left\lbrack {\sum\limits_{i}{\sum\limits_{j:{x_{j} \in {\mathcal{N}_{i}^{0}{(q)}}}}{\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{j} \right)}} \right)\left( {{\phi\left( x_{i} \right)} - {\phi\left( x_{j} \right)}} \right)^{T}}}} \right\rbrack}}} \\ {= {{\gamma^{T}\left\lbrack {\sum\limits_{i}{\sum\limits_{j:{x_{j} \in {\mathcal{N}_{i}^{0}{(q)}}}}{\left( {K_{i} - K_{j}} \right)\left( {K_{i} - K_{j}} \right)^{T}}}} \right\rbrack}\gamma}} \\ {= {\gamma^{T}\Xi_{C}^{q}\gamma}} \end{matrix}{\Phi\gamma}$ where a kernel matrix K ∈ R^(n×n) is defined with its (i,j)-th entry K_(ij)=φ(x_(i))^(T)φ(x_(j)), K_(i) denotes the i-th column of K, and

$\Xi_{C}^{q} = {\sum\limits_{i}{\sum\limits_{j:{x_{j} \in {\mathcal{N}_{i}^{0}{(q)}}}}{\left( {K_{i} - K_{j}} \right){\left( {K_{i} - K_{j}} \right)^{T}.}}}}$ Similarly, the Representer Theorem is used to find the following: W^(φ) ^(T) Σ_(S) ^(φ) ^(q) W^(φ)=Y^(T)Ξ_(S) ^(q)Y where

$\Xi_{S}^{q} = {\sum\limits_{i}{\sum\limits_{j:{k \in {\mathcal{N}_{i}^{0}{(q)}}}}{\left( {K_{i} - K_{k}} \right){\left( {K_{i} - K_{k}} \right)^{T}.}}}}$ The objective of the optimization problem of equation (5) can then be rewritten into the following:

${{\sum\limits_{q = 1}^{m}{\alpha_{q}{{tr}\left( {{W^{\phi^{T}}\left( {\sum\limits_{C}^{q}{- \sum\limits_{S}^{q}}} \right)}W^{\phi}} \right)}}} + {{\lambda\Omega}(\alpha)}} = {\sum\limits_{q = 1}^{m}{\alpha_{q}{{tr}\left( {{\gamma^{T}\left( {\Xi_{C}^{q} - \Xi_{S}^{q}} \right)}\gamma} \right)}{{\lambda\Omega}(\alpha)}}}$ and the orthogonality constraint of W^(φ) becomes: W^(φ) ^(T) W^(φ)=Y^(T)Φ^(T)ΦY=Y^(T)KY.

The optimization problem of the kernelized CDM can then be rewritten as follows: min_(α,Y) Σ_(q=1) ^(m)α_(q)tr(Y ^(T)(Ξ_(C) ^(q)−Ξ_(S) ^(q))Y)+λΩ(α) s.t. α≧0,α^(T)e=1   (6). Y^(T)KY=I The optimization problem can be solved using alternating optimization, as in CDM. The optimization problem is convex with respect to Y or α with α or Y fixed, respectively, if Ω(α)=∥α∥₂ ² is chosen under L2 norm regularization.

In solving the optimization problem of equation (6) by first fixing Y, the problem of solving α becomes a quadratic programming problem, as it was in CDM. However, to solve Y by fixing α=α^((t−1)), the optimization problem is rewritten as follows: min_(Y) Σ_(q=1) ^(m)α_(q) ^((t−1))tr(Y ^(T)(Ξ_(C) ^(q)−Ξ_(S) ^(q))Y) s.t. Y^(T)KY=I. The regularization term of the objective was discarded as it is irrelevant with respect to Y. To solve the optimization problem, let: Θ_(q) ^((t−1))=Σ_(q=1) ^(m)α_(q) ^((t−1))(Ξ_(C) ^(q)−Ξ_(S) ^(q)). The optimization problem can then be simplified to: min_(Y)tr(Y^(T)Θ_(q) ^((t−1))Y) s.t. Y^(T)KY=I.

Since K is positive semi-definite, it can be factorized as the following: K=U^(T)ΛU where Λ is a diagonal matrix with all positive eigenvalues of K on its diagonal line and U is stacked by their corresponding eigenvectors. By letting {tilde over (Y)}=Λ^(1/2)UY, the optimization problem becomes: min_({tilde over (Y)})tr({tilde over (Y)}^(T)Λ^(−1/2)UΘ_(q) ^((t−1))U^(T)Λ^(−1/2){tilde over (Y)}) s.t. {tilde over (Y)}^(T){tilde over (Y)}=I. The solution of the optimization problem can be determined by applying the Ky Fan theorem, which states that the optimal {tilde over (Y)} should be stacked by the eigenvectors of: {tilde over (Θ)}=Λ^(−1/2) UΘ _(q) ^((t−1)) U ^(T)Λ^(−1/2) corresponding to its smallest k eigenvalues, and Y=U ^(T)Λ^(−1/2) {tilde over (Y)}. As in CDM, the alternating optimization method of kernelized CDM is repeated until a stopping criterion is met. The composite distance metric is then outputted.

In another embodiment in accordance with the present principles, the CDM is modified for multilinear data, such as image, EEG, and fMRI data. In this Tensorized CDM, data is presented as a multidimensional array (i.e., tensors) and a CDM for tensors is learned. The tensorized CDM method is similar to the CDM method illustrated in FIG. 2, however, as illustrated in block 260, the multilinear data is transformed to the linearity of the feature space. Specifically, the data matrix x is projected as y=x×₁U₁×₂U₂× . . . ×_(M)U_(M), where M is the number of dimensions and neighborhoods are constructed similar to that as in the CDM method. The optimization problem can then be formulated as follows:

$\begin{matrix} {{{\min\limits_{\alpha,{\{ U_{i}\}}_{i = 1}^{K}}{\sum\limits_{q = 1}^{m}{\alpha_{q}{\sum\limits_{i}\left( {{\sum\limits_{x_{j} \in {\mathcal{N}_{i}^{0}{(q)}}}{{y_{j} - y_{i}}}_{F}^{2}} - {\sum\limits_{x_{k} \in {\mathcal{N}_{i}^{e}{(q)}}}{{y_{k} - y_{i}}}_{F}^{2}}} \right)}}}} + {{\lambda\Omega}(\alpha)}}\mspace{79mu}{{{s.t.{\forall i}} = 1},\ldots\mspace{14mu},K,{{U_{i}^{T}U_{i}} = I}}\mspace{79mu}{{{\alpha^{T}e} = 1},{\alpha \geq 0.}}} & (7) \end{matrix}$

Let Y_(i) ^(K) be the mode K unfolding of y_(i). The mode K compactness and scatterness matrices for the q-th BDM can then be defined as follows: Σ_(Cq) ^(K)=Σ_(i) Σ_(j:X) _(j) _(∈)

_(i) _(o) _((q))(U _(K) Y _(i) ^(K) −U _(K) Y _(j) ^(K))(U _(K) Y _(i) ^(K) −U _(K) Y _(j) ^(K)) ^(T) Σ_(Sq) ^(K)=Σ_(i) Σ_(j:X) _(j) _(∈)

_(i) _(e) _((q))(U _(K) Y _(i) ^(K) −U _(K) Y _(j) ^(K))(U _(K) Y _(i) ^(K) −U _(K) Y _(j) ^(K)) ^(T) . The optimization problem is solved for α and U_(K) for each dimension K as follows:

$\min\limits_{{U_{K}^{T}U_{K}} = 1}{\sum\limits_{q = 1}^{m}{\alpha_{q}{{{tr}\left( {{U_{K}^{T}\left( {\sum\limits_{Cq}^{K}{- \sum\limits_{Sq}^{K}}} \right)}U_{K}} \right)}.}}}$ The above formulation suggests that U_(K) can be obtained by stacking the eigenvectors of

$\sum\limits_{q = 1}^{m}{\alpha_{q}\left( {\sum\limits_{Cq}^{K}{- \sum\limits_{Sq}^{K}}} \right)}$ corresponding to its smallest k eigenvalues with α fixed. Then, α can be obtained by solving problem (7) when solving for all U_(K) and all y_(i). This procedure will be repeated iteratively until the stopping criterion is met.

FIG. 5 illustratively depicts a block/flow diagram of a composite distance metric system 500 in accordance with one embodiment of the present principles. In block 520, a data distribution is inputted into the composite distance metric system 510. The composite distance metric system 510 includes memory 530, CPU 540, user interface 580 and display 590, which interface with all components of the composite distance metric system 510. Neighborhood formulation module 550, neighborhood combination module 560 and distance update module 570 are stored within memory 530. Data distribution 520 may also be stored within memory 530. User interface 580 may be configured to accept a number of user inputs, including the inputted data distribution, the maximum number of iterations or the threshold for convergence.

Neighborhood formulation module 550 converts the base distance metrics into neighborhoods for comparison. In a preferred embodiment, the neighborhoods include heterogeneous and homogeneous neighborhoods. Neighborhood formulation module 550 performs the method detailed in FIG. 3. Neighborhood combination module 560 combines the neighborhoods created in neighborhood formulation module 550 to learn the combination weights and low-dimensional representation of the input feature vectors. In a preferred embodiment, neighborhoods are combined using iterative methods, including alternating optimization. In one embodiment in accordance with the present principles, distance update module 570 is included to adjust the CDM to incorporate new feature vectors and base distance metrics.

Having described preferred embodiments of a system and method for a Composite Distance Metric leveraging multiple expert judgments (which are intended to be illustrative and not limiting), it is noted that modifications and variations can be made by persons skilled in the art in light of the above teachings. It is therefore to be understood that changes may be made in the particular embodiments disclosed which are within the scope of the invention as outlined by the appended claims. Having thus described aspects of the invention, with the details and particularity required by the patent laws, what is claimed and desired protected by Letters Patent is set forth in the appended claims. 

What is claimed is:
 1. A method for processing data, comprising: converting base distance metrics from a plurality of sources into neighborhoods for comparison, wherein each base distance metric represents an expert; and combining the neighborhoods to leverage the local discriminalities of all base distance metrics using a processor by applying at least one iterative process to output a composite distance metric.
 2. The method as recited in claim 1, further comprising: adjusting the composite distance metric to incorporate a new feature vector or a new base distance metric.
 3. The method as recited in claim 1, wherein the neighborhoods are identified as a homogeneous neighborhood or a heterogeneous neighborhood.
 4. The method as recited in claim 3, wherein: the homogeneous neighborhood includes the nearest neighbors, based on input neighbor size, with a same input label; and the heterogeneous neighborhood includes the nearest neighbors, based on input neighbor size, with a different input label.
 5. The method as recited in claim 1, wherein the iterative process includes alternating optimization.
 6. The method as recited in claim 5, wherein alternating optimization includes eigenvalue decomposition and Euclidean projection.
 7. The method as recited in claim 1, wherein: an individual similarity measure is determined for each expert; and the composite distance metric is provided back to each expert to compare to the individual similarity measure.
 8. The method as recited in claim 1, wherein a similarity measure between a first patient with a first vector and a second patient with a second vector is determined by computing a Mahalanobis distance between the first vector and the second vector.
 9. The method as recited in claim 1, wherein the data distribution is a multilinear data distribution.
 10. A system for processing data, comprising: a neighborhood formulation module configured to convert base distance metrics from a plurality of sources into neighborhoods for comparison, wherein each base distance metric represents an expert; and a neighborhood combination module, having a processor, configured to combine the neighborhoods to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric.
 11. The system as recited in claim 10, further comprising: a distance update module configured to adjust the composite distance metric to incorporate a new feature vector or a new base distance metric.
 12. The system as recited in claim 10, wherein the neighborhoods are identified as a homogeneous neighborhood or heterogeneous neighborhood.
 13. The system as recited in claim 12, wherein: the homogeneous neighborhood includes the nearest neighbors, based on input neighbor size, with a same input label; and the heterogeneous neighborhood includes the nearest neighbors, based on input neighbor size, with a different input label.
 14. The system as recited in claim 10, wherein the iterative process includes alternating optimization.
 15. The system as recited in claim 14, wherein alternating optimization includes eigenvalue decomposition and Euclidean projection.
 16. The system as recited in claim 10, wherein: an individual similarity measure is determined for each expert; and the composite distance metric is provided back to each expert to compare to the individual similarity measure.
 17. The system as recited in claim 10, wherein a similarity measure between a first patient with a first vector and a second patient with a second vector is determined by computing a Mahalanobis distance between the first vector and the second vector.
 18. The system as recited in claim 10, wherein the data distribution includes at least one of a multilinear data distribution and a nonlinear data distribution.
 19. The system as recited in claim 10, wherein the data distribution is a nonlinear data distribution.
 20. A computer readable storage medium comprising a computer readable program, wherein the computer readable program when executed on a computer causes the computer to perform the steps of: converting base distance metrics from a plurality of sources into neighborhoods for comparison, wherein each base distance metric represents an expert; and combining the neighborhoods to leverage the local discriminalities of all base distance metrics by applying at least one iterative process to output a composite distance metric. 